---
title: Timeline-view now-indicator
layout: demo-v4
plugins: [ timeline, resource-common, resource-timeline ]
---
<script>

  document.addEventListener('DOMContentLoaded', function() {
    var calendarEl = document.getElementById('calendar');

    var calendar = new FullCalendar.Calendar(calendarEl, {
      plugins: [ 'resourceTimeline' ],
      defaultView: 'resourceTimeline',
      nowIndicator: true,
      now: '2018-02-13T09:25:00', // just for demo
      resources: '{{ site.data.demo_feed_baseurl }}/demo-resources.json'
    });

    calendar.render();
  });

</script>
